package com.example.victory.swagger.model;

import java.util.Objects;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.validation.annotation.Validated;

/**
 * ApiResponseCustomerRelationInfoDataCustomers
 */
@Validated
@javax.annotation.Generated(value = "io.swagger.codegen.languages.SpringCodegen", date = "2021-04-26T10:50:39.083+08:00")

public class ApiResponseCustomerRelationInfoDataCustomers   {
  @JsonProperty("customerId")
  private String customerId = null;

  @JsonProperty("assetTotal")
  private Double assetTotal = null;

  @JsonProperty("capitalMoney")
  private Double capitalMoney = null;

  @JsonProperty("marketValueTotal")
  private Double marketValueTotal = null;

  @JsonProperty("commissionRate")
  private Double commissionRate = null;

  @JsonProperty("productTotal")
  private Double productTotal = null;

  @JsonProperty("incomeContribution")
  private Double incomeContribution = null;

  @JsonProperty("jumUrl")
  private String jumUrl = null;

  @JsonProperty("relationType")
  private String relationType = null;

  @JsonProperty("riskLevel")
  private String riskLevel = null;

  public ApiResponseCustomerRelationInfoDataCustomers customerId(String customerId) {
    this.customerId = customerId;
    return this;
  }

  /**
   * 客户号
   * @return customerId
  **/
  @ApiModelProperty(example = "80000036818", value = "客户号")


  public String getCustomerId() {
    return customerId;
  }

  public void setCustomerId(String customerId) {
    this.customerId = customerId;
  }

  public ApiResponseCustomerRelationInfoDataCustomers assetTotal(Double assetTotal) {
    this.assetTotal = assetTotal;
    return this;
  }

  /**
   * 总资产，单位元
   * @return assetTotal
  **/
  @ApiModelProperty(example = "10000.01", value = "总资产，单位元")


  public Double getAssetTotal() {
    return assetTotal;
  }

  public void setAssetTotal(Double assetTotal) {
    this.assetTotal = assetTotal;
  }

  public ApiResponseCustomerRelationInfoDataCustomers capitalMoney(Double capitalMoney) {
    this.capitalMoney = capitalMoney;
    return this;
  }

  /**
   * 资金余额，单位元 ,
   * @return capitalMoney
  **/
  @ApiModelProperty(example = "11111.0", value = "资金余额，单位元 ,")


  public Double getCapitalMoney() {
    return capitalMoney;
  }

  public void setCapitalMoney(Double capitalMoney) {
    this.capitalMoney = capitalMoney;
  }

  public ApiResponseCustomerRelationInfoDataCustomers marketValueTotal(Double marketValueTotal) {
    this.marketValueTotal = marketValueTotal;
    return this;
  }

  /**
   * 证券市值，单位元 ,
   * @return marketValueTotal
  **/
  @ApiModelProperty(example = "11111.0", value = "证券市值，单位元 ,")


  public Double getMarketValueTotal() {
    return marketValueTotal;
  }

  public void setMarketValueTotal(Double marketValueTotal) {
    this.marketValueTotal = marketValueTotal;
  }

  public ApiResponseCustomerRelationInfoDataCustomers commissionRate(Double commissionRate) {
    this.commissionRate = commissionRate;
    return this;
  }

  /**
   * 佣金率，单位
   * @return commissionRate
  **/
  @ApiModelProperty(example = "0.05", value = "佣金率，单位")


  public Double getCommissionRate() {
    return commissionRate;
  }

  public void setCommissionRate(Double commissionRate) {
    this.commissionRate = commissionRate;
  }

  public ApiResponseCustomerRelationInfoDataCustomers productTotal(Double productTotal) {
    this.productTotal = productTotal;
    return this;
  }

  /**
   * 产品市值，单位元
   * @return productTotal
  **/
  @ApiModelProperty(example = "1111.0", value = "产品市值，单位元")


  public Double getProductTotal() {
    return productTotal;
  }

  public void setProductTotal(Double productTotal) {
    this.productTotal = productTotal;
  }

  public ApiResponseCustomerRelationInfoDataCustomers incomeContribution(Double incomeContribution) {
    this.incomeContribution = incomeContribution;
    return this;
  }

  /**
   * 收入贡献，单位元
   * @return incomeContribution
  **/
  @ApiModelProperty(example = "111.0", value = "收入贡献，单位元")


  public Double getIncomeContribution() {
    return incomeContribution;
  }

  public void setIncomeContribution(Double incomeContribution) {
    this.incomeContribution = incomeContribution;
  }

  public ApiResponseCustomerRelationInfoDataCustomers jumUrl(String jumUrl) {
    this.jumUrl = jumUrl;
    return this;
  }

  /**
   * 跳转url
   * @return jumUrl
  **/
  @ApiModelProperty(value = "跳转url")


  public String getJumUrl() {
    return jumUrl;
  }

  public void setJumUrl(String jumUrl) {
    this.jumUrl = jumUrl;
  }

  public ApiResponseCustomerRelationInfoDataCustomers relationType(String relationType) {
    this.relationType = relationType;
    return this;
  }

  /**
   * 1-服务关系;2-签约关系;10-开发关系
   * @return relationType
  **/
  @ApiModelProperty(example = "1", value = "1-服务关系;2-签约关系;10-开发关系")


  public String getRelationType() {
    return relationType;
  }

  public void setRelationType(String relationType) {
    this.relationType = relationType;
  }

  public ApiResponseCustomerRelationInfoDataCustomers riskLevel(String riskLevel) {
    this.riskLevel = riskLevel;
    return this;
  }

  /**
   * 0:未知;  1-保守型;2-谨慎型;3-稳健型;4-积极型;5-激进型
   * @return riskLevel
  **/
  @ApiModelProperty(example = "1", value = "0:未知;  1-保守型;2-谨慎型;3-稳健型;4-积极型;5-激进型")


  public String getRiskLevel() {
    return riskLevel;
  }

  public void setRiskLevel(String riskLevel) {
    this.riskLevel = riskLevel;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    ApiResponseCustomerRelationInfoDataCustomers apiResponseCustomerRelationInfoDataCustomers = (ApiResponseCustomerRelationInfoDataCustomers) o;
    return Objects.equals(this.customerId, apiResponseCustomerRelationInfoDataCustomers.customerId) &&
        Objects.equals(this.assetTotal, apiResponseCustomerRelationInfoDataCustomers.assetTotal) &&
        Objects.equals(this.capitalMoney, apiResponseCustomerRelationInfoDataCustomers.capitalMoney) &&
        Objects.equals(this.marketValueTotal, apiResponseCustomerRelationInfoDataCustomers.marketValueTotal) &&
        Objects.equals(this.commissionRate, apiResponseCustomerRelationInfoDataCustomers.commissionRate) &&
        Objects.equals(this.productTotal, apiResponseCustomerRelationInfoDataCustomers.productTotal) &&
        Objects.equals(this.incomeContribution, apiResponseCustomerRelationInfoDataCustomers.incomeContribution) &&
        Objects.equals(this.jumUrl, apiResponseCustomerRelationInfoDataCustomers.jumUrl) &&
        Objects.equals(this.relationType, apiResponseCustomerRelationInfoDataCustomers.relationType) &&
        Objects.equals(this.riskLevel, apiResponseCustomerRelationInfoDataCustomers.riskLevel);
  }

  @Override
  public int hashCode() {
    return Objects.hash(customerId, assetTotal, capitalMoney, marketValueTotal, commissionRate, productTotal, incomeContribution, jumUrl, relationType, riskLevel);
  }

  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class ApiResponseCustomerRelationInfoDataCustomers {\n");
    
    sb.append("    customerId: ").append(toIndentedString(customerId)).append("\n");
    sb.append("    assetTotal: ").append(toIndentedString(assetTotal)).append("\n");
    sb.append("    capitalMoney: ").append(toIndentedString(capitalMoney)).append("\n");
    sb.append("    marketValueTotal: ").append(toIndentedString(marketValueTotal)).append("\n");
    sb.append("    commissionRate: ").append(toIndentedString(commissionRate)).append("\n");
    sb.append("    productTotal: ").append(toIndentedString(productTotal)).append("\n");
    sb.append("    incomeContribution: ").append(toIndentedString(incomeContribution)).append("\n");
    sb.append("    jumUrl: ").append(toIndentedString(jumUrl)).append("\n");
    sb.append("    relationType: ").append(toIndentedString(relationType)).append("\n");
    sb.append("    riskLevel: ").append(toIndentedString(riskLevel)).append("\n");
    sb.append("}");
    return sb.toString();
  }

  /**
   * Convert the given object to string with each line indented by 4 spaces
   * (except the first line).
   */
  private String toIndentedString(java.lang.Object o) {
    if (o == null) {
      return "null";
    }
    return o.toString().replace("\n", "\n    ");
  }
}

